package io.sdl.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.sdl.entity.SdlPatientsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Dchen
 * @email 1211734836@qq.com
 * @date 2025-04-22 11:24:49
 */
@Mapper
public interface SdlPatientsDao extends BaseMapper<SdlPatientsEntity> {

    List<SdlPatientsEntity> getPatientsByUserPhone(@Param("phone") String phone,@Param("page") Integer page,@Param("limit")Integer limit);

    Integer getNum(@Param("phone") String phone);

    //根据身份证号查询
    List<SdlPatientsEntity> getByIdCard(@Param("idCard") String idCard);
	
}
